@ECHO OFF
CLS
:UpdateJAR
:UpdateData
ECHO Update jar? (y/n)
SET choice=
SET /P choice=
IF /I '%choice%'=='N' GOTO UpdateData
COPY C:\Users\Ian\workspace\RD-AD-Server\RD-AD-Server_fat.jar ..\deploy
:UpdateData
ECHO Update data folder? (y/n)
SET choice=
SET /P choice=
IF /I '%choice%'=='N' GOTO StartServer
XCOPY /E /Y C:\Users\Ian\workspace\RD-AD-Server\data ..\data
:StartServer
java -jar sgs-boot.jar
pause
